<template>
  <div>
    <tab-bar>
      <tab-bar-item link="/home" activeFont="pink">
        <img src="~@/assets/img/tabbar/home.svg" slot="item-icon" />
        <img src="~@/assets/img/tabbar/home_active.svg" slot="item-icon-active" />
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item link="/category" activeFont="pink">
        <img src="~@/assets/img/tabbar/fenlei.svg" slot="item-icon" />
        <img src="~@/assets/img/tabbar/fenlei_active.svg" slot="item-icon-active" />
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item link="/shop" activeFont="pink">
        <img src="~@/assets/img/tabbar/gouwuchekong.svg" slot="item-icon" />
        <img src="~@/assets/img/tabbar/gouwuchekong_active.svg" slot="item-icon-active" />
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item link="/profile">
        <img src="~@/assets/img/tabbar/my.svg" slot="item-icon" />
        <img src="~@/assets/img/tabbar/my_active.svg" slot="item-icon-active" />
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>
<script>
  import TabBar from "../common/tabbar/TabBar.vue"
  import TabBarItem from "../common/tabbar/TabBarItem.vue";
  export default {
    name: "MainTabBar",
    components: {
      TabBar,
      TabBarItem
    }
  }
</script>
<style scoped>
  
</style>